//
//  Validate.h
//  jhf
//
//  Created by 计海峰 on 2017/11/23 14:05:37.
//  Copyright © 2017年 计海峰. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Validate : NSObject

//邮箱
+ (BOOL) validateEmail:(NSString *)email;

//手机号码验证
+ (BOOL) validateMobile:(NSString *)mobile;

//车牌号验证
+ (BOOL) validateCarNo:(NSString *)carNo;

//车型
+ (BOOL) validateCarType:(NSString *)CarType;

//用户名
+ (BOOL) validateUserName:(NSString *)name;

//密码
+ (BOOL) validatePassword:(NSString *)passWord;

//昵称
+ (BOOL) validateNickname:(NSString *)nickname andMinLenght:(NSInteger)minLenght andMaxLenght:(NSInteger)maxLenght;

//身份证号
+ (BOOL) validateIdentityCard: (NSString *)identityCard;

//区号+座机号码+分机号码 telephone number

+ (BOOL) validateTelephoneNumber: (NSString *)telephoneNumber;

//判断是否输入的是系统键盘的表情
+ (BOOL)stringContainsEmoji:(NSString *)string;

//是否含有中文
+ (BOOL)isHadChinese:(NSString *)string;

//验证码  几位数字
+ (BOOL) validateVerify:(NSString *)code andLength:(NSInteger)length;

//验证金钱数额 
+ (BOOL) validateMoney:(NSString *)money;

@end
